package com.luoqiu.cinema.mapper;

import com.luoqiu.cinema.eitityExtends.EvaluateEx;
import com.luoqiu.cinema.entity.MovieEvaluate;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MovieEvaluateMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MovieEvaluate record);

    int insertSelective(MovieEvaluate record);

    MovieEvaluate selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MovieEvaluate record);

    int updateByPrimaryKey(MovieEvaluate record);

    List<EvaluateEx> loadByMovieId(@Param("id") Integer id);

    void delByMovieId(@Param("id") Integer id);
}
